[Firewall] Create a new firewall rule
Compute
[Firewall] Create a new firewall rule
Create a new firewall rule for a compute instance. Rules can allow or deny traffic based on protocol, port, and source/destination IP addresses. The rule will not take effect until firewall rules are applied to the instance.
POST
[Firewall] Create a new firewall rule
Authorizations
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
Path Parameters
Unique identifier of the compute instance.
Unique identifier of the organization that owns the resource.
Unique identifier of the project containing the resource.
Body
application/json
Maximum string length:
255in- inout- outinbound- inboundoutbound- outbound
Available options:
in, out, inbound, outbound accept- acceptdrop- dropreject- reject
Available options:
accept, drop, reject tcp- tcpudp- udpicmp- icmpall- all
Available options:
tcp, udp, icmp, all Required range:
1 <= x <= 10000Response
Firewall rule created successfully

